//
//  QDSideslippingCell.m
//  QuickDoctor
//
//  Created by ycw on 2016/12/20.
//  Copyright © 2016年 Eric. All rights reserved.
//

#import "QDSideslippingCell.h"

@implementation QDSideslippingCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self setUpUI];
        
    }
    return self;
}
#pragma mark
#pragma mark - 设置cell
- (void)setUpUI
{
    
    
    UILabel *lable = [[UILabel alloc] init];
    
    [self.contentView addSubview:lable];
    _lable = lable;
    
    [lable mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.top.bottom.trailing.equalTo(self.contentView);
        
        make.leading.equalTo(self.contentView).mas_offset(15);
        
    }];
    
    UIImageView *imgV = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"arrow_right_black"]];

    [self.contentView addSubview:imgV];
    [imgV mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.top.equalTo(self.contentView).mas_offset(17);
        
        make.trailing.mas_equalTo(self.contentView).mas_offset(-90);
        
        make.width.mas_equalTo(10);
        
        make.height.mas_equalTo(15);
        
    }];
    
    
    
    
}






@end
